﻿using UnityEngine;

namespace Pvp.Timeline
{
    public class RoleLimitControlAsset : BaseRolePlayableAsset<RoleLimitControlBehaviour>
    {
        [SerializeField]
        private bool openMoveLimit = true; 
        [SerializeField]
        private bool openSkillLimit = true;

        protected override void OnBehaviourInit(RoleLimitControlBehaviour behaviour)
        {
            behaviour.limitMoveFlag = openMoveLimit;
            behaviour.limitSkillFireFlag = openSkillLimit;
        }
    }
}

